<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title> AI美食相机</title>
		<meta name="keywords" content="AI美食相机"/>
		<link rel="stylesheet" href="__STATIC__/index/css/common.css" />
		<link rel="stylesheet" href="__STATIC__/index/css/nav_left_common.css" />
		<link rel="stylesheet" href="__STATIC__/index/css/news.css" />
		<script type="text/javascript" src="__STATIC__/index/js/jquery-1.8.3.js" ></script>
	</head>
	<body>
		<div id="header">
			<include file="Public:header" />
		</div>
		
		<div id="acticle">
			<div class="content">
				<div class="left_nav">
					<include file="Public:news_left" />
				</div>
				<div class="right_news">
					<div class="s_nav">
						<include file="Public:news_top" />
					</div>
					
					<volist name="list" id="vo">
					<div class="box">
						<ul>
							<li>
								<a href="{:url('news/details',array('id'=>$vo['id']))}">
									<div class="ss_title">
										<p>{$vo.title}</p>
										<p>
											<span>来源：{$vo.name}</span>
											<span>{$vo.time|date="Y-m-d H:i",###}</span>
										</p>
									</div>
								</a>
								<a href="{:url('news/details',array('id'=>$vo['id']))}">
								<div class="cover_pic">
									<a href="###"><img src="{$vo.images}"/></a>
								</div>
								</a>
								<!--
								<div class="text">
									<a href="{:url('news/details',array('id'=>$vo['id']))}">
										{$vo.des|htmlspecialchars_decode}
									</a>
								</div>
							-->
							</li>
						</ul>
					</div>
					</volist>
				</div>
			</div>
		</div>
		
		<script>
			$('.left_nav ul li a').click(function(){
				$(this).parent().addClass('on').siblings().removeClass("on");
				var index=$(this).parent().index();
				$('.right_news .box').eq(index).show().siblings(".box").hide();
			})
			
			$('.left_nav ul li a').click(function(){
				var texts = $('.left_nav ul .on').children().text();
				if($(this).parent().is('.on')){
					$('.accept').text(texts.slice(1))
				}
			})
		</script>
	</body>
</html>
